{% load static %}
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>student 展示界面</title>
</head>
<body>


{% for student in studentx %}
    学生姓名:{{ student.stu_name }}
    {#    学生性别:{{ student.get_sex_}}#}
    所属班级:{{ student.cls.clsname }}
    学生照片: <img src="{% static '/img/student/' %}{{ student.img_path }}" alt="暂无图片" height="200px">
    <br>
{% endfor %}

</body>
</html>